package com.sharemarking.application.common.entity;


import com.sharemarking.application.common.BaseEntity;
import javax.persistence.*;

/**
 * Created by cjw on 2017/11/25.
 */

@Entity
@Table(name="w_file")
public class File extends BaseEntity {
	private String fileName;  //文件名称
	private String fileUrl;   //文件路径
	private Integer type;     //文件类型,0图片，1视频
	private Long fileSize;   //文件大小

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileUrl() {
		return fileUrl;
	}

	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

}
